package com.kady.service;

import com.kady.entity.Table;

import java.sql.SQLException;
import java.util.List;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: kady
 * \* Date: 2021/3/26
 * \* Time: 19:14
 * \* 千峰JAVA2101班
 * \* Description: 餐桌业务层
 * \
 */
public interface TableService {
    List<Table> getTableList(String keyword) throws SQLException;

    Object updateStatus(String tableId) throws SQLException;

    void addTable(Table table) throws SQLException;

    void removeTable(String tableId) throws SQLException;

    Table getTable(String tableId) throws SQLException;
}
